<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>用户列表</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="/woniu/Public/X-admin/css/x-admin.css" media="all">
        <style type="text/css">
            th{
                background-color:#F2F2F2;
            }
        </style>
    </head>
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
              <a href=""><cite>首页</cite></a>
              <a><cite>班级管理</cite></a>
              <a><cite>班级详情</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"  href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a>
        </div>
        <div class="x-body">
            <div style="font-size:20px;">
                <span>班级:</span><b><?php echo ($arr['name']); ?></b>
            </div>
            <hr>
            <div>
                
                <a class="layui-btn layui-btn-small" href="/woniu/index.php/Home/MyClass/MailList/id/<?php echo ($arr['id']); ?>">查看通讯录</a>
                <a class="layui-btn layui-btn-small" href="">导出保险数据</a>
            </div>

			 <table class="layui-table">

                    <tr>
                        <th>分组</th>
                        <td colspan='7'>
                            <?php if(is_array($row)): foreach($row as $key=>$rows): ?><a class="layui-btn layui-btn-small" href=""><?php echo ($rows['team']); ?></a><?php endforeach; endif; ?>
                        </td>
                    </tr>

                    <tr>
                        <th>班主任</th>
                        <td><?php echo ($arr['admin']); ?></td>
                        <th>讲师</th>
                        <td><?php echo ($arr['teacher']); ?></td>
                        <th>项目经理</th>
                        <td><?php echo ($arr['pm']); ?></td>
                        <th>班长</th>
                        <td><?php echo ($arr['monitorname']); ?></td>
                    </tr>

                     <tr>
                        <th>专业</th>
                        <td><?php echo ($arr['major']); ?></td>
                        <th>班级状态</th>
                        <td><?php if($arr['status'] == 0): ?>即将开班 <?php elseif($arr['status'] == 1): ?>正常上课 <?php else: ?>已毕业<?php endif; ?></td>
                        <th>所在教室</th>
                        <td><?php echo ($arr['classroom']); ?></td>
                        <th>开学时间</th>
                        <td><?php echo ($arr['start']); ?></td>
                    </tr>
                   
            </table> 

            <div style="background-color:#F2F2F2;height:60px;">
                <div style="background-color:#F2F2F2;height:60px;">
                    <a href="" class="layui-btn layui-btn-normal layui-btn-small" style="margin:15px;">未分组</a>
                </div>
            </div>
        </div>
        <script src="/woniu/Public/X-admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="/woniu/Public/X-admin/js/x-layui.js" charset="utf-8"></script>
        <script>
            layui.use(['laydate','element','laypage','layer','form'], function(){
                $ = layui.jquery;//jquery
              lement = layui.element();//面包导航
              laypage = layui.laypage;//分页
              layer = layui.layer;//弹出层
              var form = layui.form(); //只有执行了这一步，部分表单元素才会修饰成功


              
            
              
            });

            </script>
            <script>
        </script>
    </body>
</html>